﻿@model ConfigDashboard.Models.ConfigEnvironment

@{
    ViewBag.Title = "Delete Environment";
}

<h2>Delete Environment</h2>

<h3>Are you sure you want to delete this environment?</h3>
<fieldset>
    <legend>Environment</legend>

    <div class="display-label">
         Environment Name
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EnvironmentName)
    </div>

    <div class="display-label">
         View Order
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ViewOrder)
    </div>

    <div class="display-label">
         Is Default?
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsDefault)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List of Environments", "Index")
    </p>
}
